package com.situ.day13;

//Java是单继承的，但是可以实现多个接口
public class GeZi extends AbstractBird implements IFly, ITest{

    @Override
    public void fly() {
        System.out.println("GeZi.fly");
    }

    @Override
    public void egg() {
        System.out.println("GeZi.egg");
    }

    @Override
    public void test() {
        System.out.println("GeZi.test");
    }
}
